//
//  RecentBaseCell.h
//  SportSocial
//
//  Created by yull on 15/1/28.
//  Copyright (c) 2015年 yull. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ChatInfo.h"

@protocol RecentBaseCellDelegate <NSObject>

- (void)onClickRecentAvatarView:(ChatInfo *)chatInfo;

@end

@interface RecentBaseCell : UITableViewCell

@property (nonatomic, strong) ChatInfo * chatInfo;

@property (nonatomic, strong) UIImageView *headImageView;

@property (nonatomic, strong) UILabel *nameLabel;

@property (nonatomic, strong) UILabel *contentLabel;

@property (nonatomic, strong) UILabel *timeLabel;

@property (nonatomic, assign) id<RecentBaseCellDelegate> delegate;

+ (CGFloat)defaultCellHeight;

- (void)drawCellWithRecent:(ChatInfo *)recent;

@end
